home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / include / dmodshow.h < prev    next >
C/C++ Source or Header  |  2001-10-08  |  4KB  |  177 lines

  1.  
  2. #pragma warning( disable: 4049 )  /* more than 64k source lines */
  3.  
  4. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  5.  
  6.  
  7.  /* File created by MIDL compiler version 6.00.0347 */
  8. /* Compiler settings for dmodshow.idl:
  9.     Oicf, W1, Zp8, env=Win32 (32b run)
  10.     protocol : dce , ms_ext, c_ext, robust
  11.     error checks: allocation ref bounds_check enum stub_data 
  12.     VC __declspec() decoration level: 
  13.          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  14.          DECLSPEC_UUID(), MIDL_INTERFACE()
  15. */
  16. //@@MIDL_FILE_HEADING(  )
  17.  
  18.  
  19. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  20. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  21. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  22. #endif
  23.  
  24. #include "rpc.h"
  25. #include "rpcndr.h"
  26.  
  27. #ifndef __RPCNDR_H_VERSION__
  28. #error this stub requires an updated version of <rpcndr.h>
  29. #endif // __RPCNDR_H_VERSION__
  30.  
  31. #ifndef COM_NO_WINDOWS_H
  32. #include "windows.h"
  33. #include "ole2.h"
  34. #endif /*COM_NO_WINDOWS_H*/
  35.  
  36. #ifndef __dmodshow_h__
  37. #define __dmodshow_h__
  38.  
  39. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  40. #pragma once
  41. #endif
  42.  
  43. /* Forward Declarations */ 
  44.  
  45. #ifndef __IDMOWrapperFilter_FWD_DEFINED__
  46. #define __IDMOWrapperFilter_FWD_DEFINED__
  47. typedef interface IDMOWrapperFilter IDMOWrapperFilter;
  48. #endif     /* __IDMOWrapperFilter_FWD_DEFINED__ */
  49.  
  50.  
  51. /* header files for imported files */
  52. #include "unknwn.h"
  53. #include "objidl.h"
  54. #include "mediaobj.h"
  55.  
  56. #ifdef __cplusplus
  57. extern "C"{
  58. #endif 
  59.  
  60. void * __RPC_USER MIDL_user_allocate(size_t);
  61. void __RPC_USER MIDL_user_free( void * ); 
  62.  
  63. /* interface __MIDL_itf_dmodshow_0000 */
  64. /* [local] */ 
  65.  
  66. DEFINE_GUID(CLSID_DMOWrapperFilter, 0x94297043,0xbd82,0x4dfd,0xb0,0xde,0x81,0x77,0x73,0x9c,0x6d,0x20);
  67. DEFINE_GUID(CLSID_DMOFilterCategory,0xbcd5796c,0xbd52,0x4d30,0xab,0x76,0x70,0xf9,0x75,0xb8,0x91,0x99);
  68.  
  69.  
  70. extern RPC_IF_HANDLE __MIDL_itf_dmodshow_0000_v0_0_c_ifspec;
  71. extern RPC_IF_HANDLE __MIDL_itf_dmodshow_0000_v0_0_s_ifspec;
  72.  
  73. #ifndef __IDMOWrapperFilter_INTERFACE_DEFINED__
  74. #define __IDMOWrapperFilter_INTERFACE_DEFINED__
  75.  
  76. /* interface IDMOWrapperFilter */
  77. /* [uuid][object] */ 
  78.  
  79.  
  80. EXTERN_C const IID IID_IDMOWrapperFilter;
  81.  
  82. #if defined(__cplusplus) && !defined(CINTERFACE)
  83.     
  84.     MIDL_INTERFACE("52d6f586-9f0f-4824-8fc8-e32ca04930c2")
  85.     IDMOWrapperFilter : public IUnknown
  86.     {
  87.     public:
  88.         virtual HRESULT STDMETHODCALLTYPE Init( 
  89.             REFCLSID clsidDMO,
  90.             REFCLSID catDMO) = 0;
  91.         
  92.     };
  93.     
  94. #else     /* C style interface */
  95.  
  96.     typedef struct IDMOWrapperFilterVtbl
  97.     {
  98.         BEGIN_INTERFACE
  99.         
  100.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  101.             IDMOWrapperFilter * This,
  102.             /* [in] */ REFIID riid,
  103.             /* [iid_is][out] */ void **ppvObject);
  104.         
  105.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  106.             IDMOWrapperFilter * This);
  107.         
  108.         ULONG ( STDMETHODCALLTYPE *Release )( 
  109.             IDMOWrapperFilter * This);
  110.         
  111.         HRESULT ( STDMETHODCALLTYPE *Init )( 
  112.             IDMOWrapperFilter * This,
  113.             REFCLSID clsidDMO,
  114.             REFCLSID catDMO);
  115.         
  116.         END_INTERFACE
  117.     } IDMOWrapperFilterVtbl;
  118.  
  119.     interface IDMOWrapperFilter
  120.     {
  121.         CONST_VTBL struct IDMOWrapperFilterVtbl *lpVtbl;
  122.     };
  123.  
  124.     
  125.  
  126. #ifdef COBJMACROS
  127.  
  128.  
  129. #define IDMOWrapperFilter_QueryInterface(This,riid,ppvObject)    \
  130.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  131.  
  132. #define IDMOWrapperFilter_AddRef(This)    \
  133.     (This)->lpVtbl -> AddRef(This)
  134.  
  135. #define IDMOWrapperFilter_Release(This)    \
  136.     (This)->lpVtbl -> Release(This)
  137.  
  138.  
  139. #define IDMOWrapperFilter_Init(This,clsidDMO,catDMO)    \
  140.     (This)->lpVtbl -> Init(This,clsidDMO,catDMO)
  141.  
  142. #endif /* COBJMACROS */
  143.  
  144.  
  145. #endif     /* C style interface */
  146.  
  147.  
  148.  
  149. HRESULT STDMETHODCALLTYPE IDMOWrapperFilter_Init_Proxy( 
  150.     IDMOWrapperFilter * This,
  151.     REFCLSID clsidDMO,
  152.     REFCLSID catDMO);
  153.  
  154.  
  155. void __RPC_STUB IDMOWrapperFilter_Init_Stub(
  156.     IRpcStubBuffer *This,
  157.     IRpcChannelBuffer *_pRpcChannelBuffer,
  158.     PRPC_MESSAGE _pRpcMessage,
  159.     DWORD *_pdwStubPhase);
  160.  
  161.  
  162.  
  163. #endif     /* __IDMOWrapperFilter_INTERFACE_DEFINED__ */
  164.  
  165.  
  166. /* Additional Prototypes for ALL interfaces */
  167.  
  168. /* end of Additional Prototypes */
  169.  
  170. #ifdef __cplusplus
  171. }
  172. #endif
  173.  
  174. #endif
  175.  
  176.  
  177.